<!-- 能耗统计 》 用能报表 -->

<template>
  <CommonBody diy>
    <EasyCard>
      <MySearch />
    </EasyCard>

    <EasyCard
      v-show="param.statisticType === 5"
      class="CommonBody-BodyTree"
      width="242px"
      height="calc(100% - 90px)"
      noPadding
    >
      <PointTree />
    </EasyCard>

    <EasyCard :width="param.statisticType === 5 ? 'calc(100% - 242px)' : null" height="calc(100% - 90px)">
      <MyTable />
    </EasyCard>

    <MyModal />
  </CommonBody>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import store from './store'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'StatisticReport',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixStore(store)],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(
    require.context('../components', true, /vue$/),
    require.context('./', true, /vue$/),
  ),
}
</script>
